/**
 * 
 */
package edu.unc.comp410.colemangeer.model;

import org.apache.log4j.Logger;

/**
 * @author ccoleman
 *
 */
public class CreditAccountAuthorization extends PaymentAuthorization {

	private static Logger log = Logger.getLogger(CreditAccountAuthorization.class);
	/**
	 * 
	 */
	public CreditAccountAuthorization() {
		super();
	}

	/* (non-Javadoc)
	 * @see edu.unc.comp410.colemangeer.model.PaymentAuthorization#authorize(edu.unc.comp410.colemangeer.model.Customer)
	 */
	@Override
	public boolean authorize(Customer c) {
		log.warn("credit account auth is denied for Customer id = " + c.getId() + "!");
		return false;
	}

	/* (non-Javadoc)
	 * @see edu.unc.comp410.colemangeer.model.object.MutableObject#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		// TODO Auto-generated method stub
		return false;
	}

	/* (non-Javadoc)
	 * @see edu.unc.comp410.colemangeer.model.object.MutableObject#hashCode()
	 */
	@Override
	public int hashCode() {
		// TODO Auto-generated method stub
		return 0;
	}

	/* (non-Javadoc)
	 * @see edu.unc.comp410.colemangeer.model.object.MutableObject#toString()
	 */
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return null;
	}

}
